# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Terminal
    class ReaderCreateParams < ::Stripe::RequestParams
      # Specifies which fields in the response should be expanded.
      attr_accessor :expand
      # Custom label given to the reader for easier identification. If no label is specified, the registration code will be used.
      attr_accessor :label
      # The location to assign the reader to.
      attr_accessor :location
      # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
      attr_accessor :metadata
      # A code generated by the reader used for registering to an account.
      attr_accessor :registration_code

      def initialize(expand: nil, label: nil, location: nil, metadata: nil, registration_code: nil)
        @expand = expand
        @label = label
        @location = location
        @metadata = metadata
        @registration_code = registration_code
      end
    end
  end
end
